package com.wkbb.basic.enums;

/**
 * @author lizhichao
 * @date 2019/11/13
 * @description
 */
public enum FaceReportTransferreEnum {

    /**
     * 赠送
     */
    DONATE((byte)1,"赠送"),
    /**
     * 非赠送
     */
    UNDONATE((byte)0,"非赠送");

    FaceReportTransferreEnum(Byte value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private Byte value;

    private String desc;

    public Byte getValue() {
        return this.value;
    }

    public void setValue(Integer Byte) {
        this.value = value;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public static String getDesc(Integer value) {
        for (FaceReportTransferreEnum faceReportDonateTypeEnum : FaceReportTransferreEnum.values()) {
            if (faceReportDonateTypeEnum.getValue().intValue()==value) {
                return faceReportDonateTypeEnum.getDesc();
            }
        }
        return null;
    }
}
